function moveMessage(elementID,final_x,final_y,interval){
	//无参函数
	/*if(!document.getElementById)
		return false;
	if(!document.getElementById("message"))
		return false;
	var elem=document.getElementById("message");
	var xpos=parseInt(elem.style.left);
	var ypos=parseInt(elem.style.top);
	if(xpos==600&&ypos==500)
		return true;
	if(xpos<600)
		xpos++;
	else
		xpos--;
	if(ypos<500)
		ypos++;
	else
		ypos--;
	elem.style.left=xpos+"px";
	elem.style.top=ypos+"px";
	moveMent=setTimeout("moveMessage()",10);*/
	//传参
	/*if(!document.getElementById)
		return false;
	if(!document.getElementById(elementID))
		return false;
	var elem=document.getElementById(elementID);
	if(elem.movement)
		clearTimeout(elem.movement);
	var posx=parseInt(elem.style.left);
	var posy=parseInt(elem.style.top);
	if(posx==final_x&&posy==final_y)
		return true;
	if(posx<final_x){
		posx++;
	}
	if(posx>final_x){
		posx--;
	}
	if(posy<final_y){
		posy++;
	}
	if(posy>final_y){
		posy--;
	}
	elem.style.left=posx+"px";
	elem.style.top=posy+"px";
	var repeat="moveMessage('"+elementID+"','"+final_x+"','"+final_y+"','"+interval+"')";
	elem.movement=setTimeout(repeat,interval);*/
	if(!document.getElementById)
		return false;
	if(!document.getElementById(elementID))
		return false;
	var elem=document.getElementById(elementID);
	if(elem.movement)
		clearTimeout(elem.movement);
	if(!elem.style.left)
		elem.style.left="0px";
	if(!elem.style.top)
		elem.style.top="0px";
	var posx=parseInt(elem.style.left);
	var posy=parseInt(elem.style.top);
	var dist=0;
	if(posx==final_x&&posy==final_y)
		return true;
	if(posx<final_x){
		dist=Math.ceil((final_x-posx)/10);
		posx=posx+dist;
	}
	if(posx>final_x){
		dist=Math.ceil((posx-final_x)/10);
		posx=posx-dist;
	}
	if(posy<final_y){
		dist=Math.ceil((final_y-posy)/10);
		posy=posy+dist;
	}
	if(posy>final_y){
		dist=Math.ceil((posy-final_y)/10);
		posy=posy-dist;
	}
	elem.style.left=posx+"px";
	elem.style.top=posy+"px";
	var repeat="moveMessage('"+elementID+"',"+final_x+","+final_y+","+interval+")";
	elem.movement=setTimeout(repeat,interval);
	//elem.movement=setTimeout(moveMessage(elementID,final_x,final_y,interval),interval);
}
